<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="thx" uri="/thx-tags"%>
<style>
.form-horizontal .form-group {
	margin-right: 0px;
	margin-left: 0px;
}
</style>


<form id="user-form" name="ui-adminlte-form" class="form-horizontal"
	data-toggle="validator" role="form" method="post"
	container = ".content-wrapper"
	action="${pageContext.request.contextPath}/addressbook/addressbookGroup!save.action"
	forward-action="${pageContext.request.contextPath}/addressbook/addressbookCategory!category.action">
	<s:token></s:token>
	<input name="id" value="${entity.agId}" type="hidden"/>
	<input name="message" value="${message}" type="hidden"/>
	<input type="hidden" name='pid' value="${pid}">
	<input type="hidden" name='entity.agId' value="${entity.agId}">

	<div id="commons">
		<div class="row">
			<div class="form-group col-sm-12">
				<label>分组名称 </label>
					<input type="text" name="entity.agName" value="${entity.agName}" class="form-control required"
						placeholder="请输入分组名称"/>
			</div>
		</div>
	</div>
</form>

<script>
require(['form' ], function(form) {
	form.init();
	var message='${message}';
	var userId ='${entity.acId}';
});
</script>

